/ Assembly List / LJCNetCommon / HTMLBuilder / Attribs

Namespace - LJCNetCommon


Parameters
className - The class attribute.
id - The id attribute.

Returns

The common element attributes collection.

Syntax

C#
public Attributes Attribs(String className = null, String id = null)

Gets common element attributes.

Example

C#
// Root Method Begin
var textState = new TextState();

var hb = new HTMLBuilder(textState);

// Example Method:
var className = "className";
var id = "id";
Attributes attribs = hb.Attribs(className, id);

// result:
// List<string>()
// {
//   { "className", "id" },
// };

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.